Tryit Editor v2.3

Edit This Code:
<!DOCTYPE html> <html> <head> <style> option:disabled { background: red; } </style> </head> <body> <select> <option value="volvo">Volvo</option> <option value="saab" disabled>Saab</option> <option value="opel">Opel</option> <option value="audi" disabled>Audi</option> <option value="bmw">BMW</option> </select> </body> <!-- Mirrored from www.w3schools.com/cssref/tryit.asp?filename=trycss3_disabled_option by HTTrack Website Copier/3.x [XR&CO'2014], Fri, 23 Jan 2015 08:13:57 GMT --> </html>
Result:
Try it Yourself - © w3schools.com